import { createApp } from 'vue'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import 'element-plus/theme-chalk/display.css'; //引入这个文件
import webSocket from '@/utils/webSocketUtil'

import locale from 'element-plus/lib/locale/lang/zh-cn'
import router from '@/router'
import App from './App.vue'
import store from './store'
import '@/style/iconfont/iconfont.css'
import '@/permission'
import QrReader from 'vue3-qr-reader';
const app=createApp(App)
app.use(ElementPlus,{locale})
app.use(router)
app.use(store)
app.use(QrReader);
app.config.globalProperties.$websocket=webSocket
app.mount('#app')
